﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Robots</title>
    <link href="Content/bootstrap.css" rel="stylesheet" />
    <link href="Content/font-awesome.css" rel="stylesheet" />
    <link href="styles.css" rel="stylesheet" />
</head>
<body>

    <div class="container">
        <h2>Robots</h2>
        <div class="well"> </div>
        <div></div>
            <input class="input-sm" type="text" id="name" placeholder="Robot name?" />
            <input class="input-sm" type="text" id="picture" placeholder="Picture" />
        <select id="metal" class="input-sm">
            <option value="adamantium">Adamantium</option>
            <option value="vibranium">Vibranium</option>
            <option value="Other">Other</option>
        </select>
       
        <div class="btn btn-success" onclick="robots.add();">Add Robot</div>
        <!--<select id="sort" class="input-sm">
            <option value="ascending">Ascending</option>
            <option value="descending">Descending</option>
        </select>-->
        <div class="btn btn-default" onclick="robots.sort();">Sort Robots</div>
        <div id="tableHolder">

        </div>

        </div>

    <!--Modal Start-->
    <div class="modal fade" id="editModal">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                    <h4 class="modal-title" id="editTitle"></h4>
                </div>
                <div class="modal-body">
                    <i class="fa fa-coffee fa-2x"></i> <input type="text" id="editName" class="input-sm" /><br />
                    <i class="fa fa-code fa-2x"></i> <input type="text" id="editMetal" class="input-sm" /><br />
                    <i class="fa fa-instagram fa-2x"></i> <input type="text" id="editPicture" class="input-sm" /><br />
                    <i class="fa fa-stop fa-2x"></i> <select id="isOutdated" class="input-sm">
                        <option value="true">Is Outdated</option>
                        <option value="false">Is not Outdated</option>
                    </select><br />
                    <input type="hidden" id="editId" />
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                    <button type="button" id="saveChangesBtn" class="btn btn-primary">Save changes</button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal-dialog -->
    </div><!-- /.modal -->


    <script src="Scripts/jquery-1.9.0.js"></script>
    <script src="Scripts/bootstrap.js"></script>
    <script src="_script.js"></script>
</body>
</html>
